﻿<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
	<title>杭州市中医院丁桥分院</title>

	<link href="__TMPL__Public/assets/css/login.css" rel="stylesheet" />
	
	<!-- CSS -->
	<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	<script>
		if (window.parent !== window.self) {
				document.write = '';
				window.parent.location.href = window.self.location.href;
				setTimeout(function () {
						document.body.innerHTML = '';
				}, 0);
		}
	</script>
</head>
<body>
    <div class="page-container" style="margin-top: 10%;">

        <div class="panel panel-default panel-login">
            <div class="panel-heading">
                <h3 class="panel-title">
                    杭州市中医院丁桥分院-登录
                </h3>
            </div>
            <div class="panel-body">
                <form role="form" method="post" name="login" action="{:U('public/dologin')}" autoComplete="off" class="js-ajax-form form-horizontal">
                    <div class="form-group">
                        <label for="inputName" >
                            账号
                        </label>
                        <div>
                            <input class="input form-control" id="js-admin-name" name="username" type="text" placeholder="请输入账号" title="{:L('USERNAME_OR_EMAIL')}" value="{:cookie('admin_username')}" data-rule-required="true" data-msg-required="" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword">
                            密码
                        </label>
                        <div>
                            <input class="input form-control" id="admin_pwd" type="password" name="password" placeholder="请输入密码" title="请输入密码" data-rule-required="true" data-msg-required="" />
                        </div>
                    </div>

                    <div class="form-group last">
                        <div class="">
                            <button type="submit" name="submit" class="btn btn-login js-ajax-submit" data-loadingmsg="{:L('LOADING')}">
                                登陆
                            </button>
                            <button type="reset" class="btn btn-default">
                                取消
                            </button>
                        </div>
                    </div>
                </form>
            </div>
            <div class="panel-footer" style="padding:10px 0 0 0">
                <small style="color: #750707;font-size: 14px;">
                    * 没有账号请向系统管理员申请
                </small>

            </div>
        </div>

    </div>
	

	<!-- Javascript -->
	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
	<script src="__TMPL__Public/assets/js/supersized.3.2.7.min.js"></script>
	
	<script type="text/javascript">
//        $(function () {
//            $("#btnOk").click(function () {
//                window.location.href = "/Index";
//            });
//        })
		jQuery(function ($) {
			$.supersized({
				// Functionality
				slide_interval: 4000,    // Length between transitions
				transition: 1,    // 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
				transition_speed: 1000,    // Speed of transition
				performance: 1,    // 0-Normal, 1-Hybrid speed/quality, 2-Optimizes image quality, 3-Optimizes transition speed // (Only works for Firefox/IE, not Webkit)

				// Size & Position
				min_width: 0,    // Min width allowed (in pixels)
				min_height: 0,    // Min height allowed (in pixels)
				vertical_center: 1,    // Vertically center background
				horizontal_center: 1,    // Horizontally center background
				fit_always: 0,    // Image will never exceed browser width or height (Ignores min. dimensions)
				fit_portrait: 1,    // Portrait images will not exceed browser height
				fit_landscape: 0,    // Landscape images will not exceed browser width

				// Components
				slide_links: 'blank',    // Individual links for each slide (Options: false, 'num', 'name', 'blank')
				slides: [    // Slideshow Images
					{ image: '__TMPL__Public/assets/images/1P.jpg' },
					{ image: '__TMPL__Public/assets/images/2P.jpg' },
					{ image: '__TMPL__Public/assets/images/3P.jpg' }
				]
			});
		});
	</script>

<script>
var GV = {
	ROOT: "__ROOT__/",
	WEB_ROOT: "__WEB_ROOT__/",
	JS_ROOT: "public/js/"
};
</script>
<script src="__PUBLIC__/js/wind.js"></script>
<script src="__PUBLIC__/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
<script>
;(function(){
	document.getElementById('js-admin-name').focus();
})();
</script>
</body>
</html>
